﻿<%@ Control Language="C#" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<table style="height: 50px;" class="gridtable">
    <tr>
        <th colspan="7">
            已批准挂起业务列表
        </th>
    </tr>
    <tr>
        <td>
            业务编号：
        </td>
        <td>
            <asp:TextBox ID="txtIId" runat="server" CssClass="sInputCss" Width="150px"></asp:TextBox>
        </td>
        <td>
            业务名称：
        </td>
        <td>
            <asp:TextBox ID="txtName" runat="server" CssClass="sInputCss" Width="150px"></asp:TextBox>
        </td>
        <td>
            流程类型：
        </td>
        <td>
            <asp:DropDownList ID="ddlWname" runat="server">
            </asp:DropDownList>
        </td>
        <td>
            <asp:Button runat="server" ID="btnOK" Text="查 询" CssClass="Newbtn" />
        </td>
    </tr>
</table>
<CBW:CustomGridView ID="GV" runat="server" AllowPaging="true" PageSize="10" Width="100%"
    EmptyDataText="&nbsp;" CssClass="gridtable" AutoGenerateColumns="false">
    <Columns>
        <asp:BoundField DataField="iid" HeaderText="业务编号" />
        <asp:BoundField DataField="wname" HeaderText="业务类型" />
        <asp:BoundField DataField="name" HeaderText="申请人" />
        <asp:BoundField DataField="description" HeaderText="挂起原因" ItemStyle-Width="100px">
            <ItemStyle Width="100px"></ItemStyle>
        </asp:BoundField>        
        <asp:BoundField DataField="start_date" HeaderText="挂起时间" />
        <asp:BoundField DataField="end_date" HeaderText="解挂时间" />
        <asp:TemplateField HeaderText="解挂">
            <ItemTemplate>
                <asp:HyperLink runat="server" ID="hydel" Text="解挂"></asp:HyperLink>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="详细信息">
            <ItemTemplate>
                <a href='InstanceSearch.aspx?action=instancesearchone&iid=<%#Eval("IID") %>'>查看详情</a>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</CBW:CustomGridView>
<div style="width: 100%; text-align: center;">
    <asp:Label runat="server" ID="labMsg" ForeColor="red" />
</div>
